/*------------------------------------------------------------------------------------------------\
| Horrible X-Wing game by Steven Haber
| st_haber@hotmail.com
|
| layzar.h: contains a single layzar (and I do know how to spell it correctly) fired by a player
|	or enemy
\------------------------------------------------------------------------------------------------*/

#ifndef LAYZAR_H
#define LAYZAR_H

#include "xwing.h"

class Layzar
{
public:
	Layzar(float origX, float origY, bool up, sf::Sprite sprite, sf::RenderWindow *out);
	bool drawLayzar(float delta);
	float getCollisionX();
	float getCollisionY();

private:
	bool mUp;
	float mDistance;
	sf::Sprite mSprite;
	sf::RenderWindow *mOut;
};

#endif